import React from 'react'
import PalSuccessCss from './index.module.scss'
import back from '../../js/goBack'
class PalSuccess extends React.Component{
    constructor(props){
        super(props)
    }
    render(){
        return(
            <div className={PalSuccessCss.main}>
                <h2>支付成功</h2>
            </div>
        )
    }
    componentDidMount=()=>{
        setTimeout(()=>{
            back()
        },2000)
    }
}
export default PalSuccess